<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="/static/css/login.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/font-awesome.min.css"/>
    <script src="/static/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <style>
        html{
            /*background-color: #f2f2f2;*/
            background: url("/static/images/bg2.png") no-repeat 0/cover;
        }
    </style>
</head>
<body>

<div class="container">
    <form action="{{ url_for("user.register") }}" method="post">
        <ul>
            <li>
                <h2 style="color: #ff8177;font-size: 33px;"><b>管理员注册</b></h2>

            </li>
            <li>
                {% if msg %}
                <p style="color: red">{{ msg }}</p>
                {% endif %}
            </li>

            <li><i class="fa fa-user-o" aria-hidden="true"></i><label for="username"></label><input value=""
                                                                                                    type="text" required
                                                                                                    placeholder="请输入用户名"
                                                                                                    name="username"
                                                                                                    id="username"/></li>
            <li><i class="fa fa-unlock-alt" aria-hidden="true"></i><label for="password"></label><input value=""
                                                                                                        type="password"
                                                                                                        required
                                                                                                        placeholder="请输入密码"
                                                                                                        name="password"
                                                                                                        id="password"/>
            </li>
            <li><a href="{{ url_for('user.login') }}">to Login</a></li>
            <li><input type="submit" value="REGISTER"/></li>
        </ul>
    </form>

    <link rel="stylesheet" href="/static/layui/css/layui.css" type="text/css">
    <script src="/static/layui/layui.js" type="text/javascript"></script>


</div>
</body>
</html>